package org.anderground.editor.tools;

import java.util.ArrayList;
import java.util.List;

import org.anderground.core.Logger;
import org.anderground.modules.editor.tools.EditorTool;


public class ToolsRegistry {
	private static List<Class<? extends EditorTool>> tools = new ArrayList<Class<? extends EditorTool>>();

	public static void registerTool(Class<? extends EditorTool> tool) {
		Logger.i("registering new tool: " + tool.getSimpleName());
		tools.add(tool);
	}

	public static List<Class<? extends EditorTool>> getTools() {
		return tools;
	}

}
